Optimal. Leaf size=159 \[ \frac {2}{7} a^6 A x^{7/2}+\frac {2}{9} a^5 x^{9/2} (a B+6 A b)+\frac {6}{11} a^4 b x^{11/2} (2 a B+5 A b)+\frac {10}{13} a^3 b^2 x^{13/2} (3 a B+4 A b)+\frac {2}{3} a^2 b^3 x^{15/2} (4 a B+3 A b)+\frac {2}{19} b^5 x^{19/2} (6 a B+A b)+\frac {6}{17} a b^4 x^{17/2} (5 a B+2 A b)+\frac {2}{21} b^6 B x^{21/2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 159, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {27, 76} \[ \frac {2}{3} a^2 b^3 x^{15/2} (4 a B+3 A b)+\frac {10}{13} a^3 b^2 x^{13/2} (3 a B+4 A b)+\frac {6}{11} a^4 b x^{11/2} (2 a B+5 A b)+\frac {2}{9} a^5 x^{9/2} (a B+6 A b)+\frac {2}{7} a^6 A x^{7/2}+\frac {2}{19} b^5 x^{19/2} (6 a B+A b)+\frac {6}{17} a b^4 x^{17/2} (5 a B+2 A b)+\frac {2}{21} b^6 B x^{21/2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 76
Rubi steps
\begin {align*} \int x^{5/2} (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx &=\int x^{5/2} (a+b x)^6 (A+B x) \, dx\\ &=\int \left (a^6 A x^{5/2}+a^5 (6 A b+a B) x^{7/2}+3 a^4 b (5 A b+2 a B) x^{9/2}+5 a^3 b^2 (4 A b+3 a B) x^{11/2}+5 a^2 b^3 (3 A b+4 a B) x^{13/2}+3 a b^4 (2 A b+5 a B) x^{15/2}+b^5 (A b+6 a B) x^{17/2}+b^6 B x^{19/2}\right ) \, dx\\ &=\frac {2}{7} a^6 A x^{7/2}+\frac {2}{9} a^5 (6 A b+a B) x^{9/2}+\frac {6}{11} a^4 b (5 A b+2 a B) x^{11/2}+\frac {10}{13} a^3 b^2 (4 A b+3 a B) x^{13/2}+\frac {2}{3} a^2 b^3 (3 A b+4 a B) x^{15/2}+\frac {6}{17} a b^4 (2 A b+5 a B) x^{17/2}+\frac {2}{19} b^5 (A b+6 a B) x^{19/2}+\frac {2}{21} b^6 B x^{21/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 128, normalized size = 0.81 \[ \frac {2 \left (B x^{7/2} (a+b x)^7-\frac {7}{2} \left (\frac {2}{7} a^6 x^{7/2}+\frac {4}{3} a^5 b x^{9/2}+\frac {30}{11} a^4 b^2 x^{11/2}+\frac {40}{13} a^3 b^3 x^{13/2}+2 a^2 b^4 x^{15/2}+\frac {12}{17} a b^5 x^{17/2}+\frac {2}{19} b^6 x^{19/2}\right ) (a B-3 A b)\right )}{21 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.85, size = 152, normalized size = 0.96 \[ \frac {2}{2909907} \, {\left (138567 \, B b^{6} x^{10} + 415701 \, A a^{6} x^{3} + 153153 \, {\left (6 \, B a b^{5} + A b^{6}\right )} x^{9} + 513513 \, {\left (5 \, B a^{2} b^{4} + 2 \, A a b^{5}\right )} x^{8} + 969969 \, {\left (4 \, B a^{3} b^{3} + 3 \, A a^{2} b^{4}\right )} x^{7} + 1119195 \, {\left (3 \, B a^{4} b^{2} + 4 \, A a^{3} b^{3}\right )} x^{6} + 793611 \, {\left (2 \, B a^{5} b + 5 \, A a^{4} b^{2}\right )} x^{5} + 323323 \, {\left (B a^{6} + 6 \, A a^{5} b\right )} x^{4}\right )} \sqrt {x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 149, normalized size = 0.94 \[ \frac {2}{21} \, B b^{6} x^{\frac {21}{2}} + \frac {12}{19} \, B a b^{5} x^{\frac {19}{2}} + \frac {2}{19} \, A b^{6} x^{\frac {19}{2}} + \frac {30}{17} \, B a^{2} b^{4} x^{\frac {17}{2}} + \frac {12}{17} \, A a b^{5} x^{\frac {17}{2}} + \frac {8}{3} \, B a^{3} b^{3} x^{\frac {15}{2}} + 2 \, A a^{2} b^{4} x^{\frac {15}{2}} + \frac {30}{13} \, B a^{4} b^{2} x^{\frac {13}{2}} + \frac {40}{13} \, A a^{3} b^{3} x^{\frac {13}{2}} + \frac {12}{11} \, B a^{5} b x^{\frac {11}{2}} + \frac {30}{11} \, A a^{4} b^{2} x^{\frac {11}{2}} + \frac {2}{9} \, B a^{6} x^{\frac {9}{2}} + \frac {4}{3} \, A a^{5} b x^{\frac {9}{2}} + \frac {2}{7} \, A a^{6} x^{\frac {7}{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 148, normalized size = 0.93 \[ \frac {2 \left (138567 B \,b^{6} x^{7}+153153 A \,b^{6} x^{6}+918918 x^{6} B a \,b^{5}+1027026 A a \,b^{5} x^{5}+2567565 x^{5} B \,a^{2} b^{4}+2909907 A \,a^{2} b^{4} x^{4}+3879876 x^{4} B \,a^{3} b^{3}+4476780 A \,a^{3} b^{3} x^{3}+3357585 B \,a^{4} b^{2} x^{3}+3968055 A \,a^{4} b^{2} x^{2}+1587222 x^{2} B \,a^{5} b +1939938 A \,a^{5} b x +323323 x B \,a^{6}+415701 A \,a^{6}\right ) x^{\frac {7}{2}}}{2909907} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.57, size = 147, normalized size = 0.92 \[ \frac {2}{21} \, B b^{6} x^{\frac {21}{2}} + \frac {2}{7} \, A a^{6} x^{\frac {7}{2}} + \frac {2}{19} \, {\left (6 \, B a b^{5} + A b^{6}\right )} x^{\frac {19}{2}} + \frac {6}{17} \, {\left (5 \, B a^{2} b^{4} + 2 \, A a b^{5}\right )} x^{\frac {17}{2}} + \frac {2}{3} \, {\left (4 \, B a^{3} b^{3} + 3 \, A a^{2} b^{4}\right )} x^{\frac {15}{2}} + \frac {10}{13} \, {\left (3 \, B a^{4} b^{2} + 4 \, A a^{3} b^{3}\right )} x^{\frac {13}{2}} + \frac {6}{11} \, {\left (2 \, B a^{5} b + 5 \, A a^{4} b^{2}\right )} x^{\frac {11}{2}} + \frac {2}{9} \, {\left (B a^{6} + 6 \, A a^{5} b\right )} x^{\frac {9}{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 131, normalized size = 0.82 \[ x^{9/2}\,\left (\frac {2\,B\,a^6}{9}+\frac {4\,A\,b\,a^5}{3}\right )+x^{19/2}\,\left (\frac {2\,A\,b^6}{19}+\frac {12\,B\,a\,b^5}{19}\right )+\frac {2\,A\,a^6\,x^{7/2}}{7}+\frac {2\,B\,b^6\,x^{21/2}}{21}+\frac {10\,a^3\,b^2\,x^{13/2}\,\left (4\,A\,b+3\,B\,a\right )}{13}+\frac {2\,a^2\,b^3\,x^{15/2}\,\left (3\,A\,b+4\,B\,a\right )}{3}+\frac {6\,a^4\,b\,x^{11/2}\,\left (5\,A\,b+2\,B\,a\right )}{11}+\frac {6\,a\,b^4\,x^{17/2}\,\left (2\,A\,b+5\,B\,a\right )}{17} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 19.55, size = 214, normalized size = 1.35 \[ \frac {2 A a^{6} x^{\frac {7}{2}}}{7} + \frac {4 A a^{5} b x^{\frac {9}{2}}}{3} + \frac {30 A a^{4} b^{2} x^{\frac {11}{2}}}{11} + \frac {40 A a^{3} b^{3} x^{\frac {13}{2}}}{13} + 2 A a^{2} b^{4} x^{\frac {15}{2}} + \frac {12 A a b^{5} x^{\frac {17}{2}}}{17} + \frac {2 A b^{6} x^{\frac {19}{2}}}{19} + \frac {2 B a^{6} x^{\frac {9}{2}}}{9} + \frac {12 B a^{5} b x^{\frac {11}{2}}}{11} + \frac {30 B a^{4} b^{2} x^{\frac {13}{2}}}{13} + \frac {8 B a^{3} b^{3} x^{\frac {15}{2}}}{3} + \frac {30 B a^{2} b^{4} x^{\frac {17}{2}}}{17} + \frac {12 B a b^{5} x^{\frac {19}{2}}}{19} + \frac {2 B b^{6} x^{\frac {21}{2}}}{21} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________